package com.yuyou.train.user.api;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.train.service.api.user.entity.UserThoughts;
import com.yuyou.train.service.api.user.service.UserThoughtsAPI;
import com.yuyou.train.user.service.IUserThoughtsService;
import com.yuyou.train.util.bean.ResBoolSimpleInfo;





@RestController
public class UserThoughtsAPIImpl implements UserThoughtsAPI{

	@Autowired
	private IUserThoughtsService userThoughtsService;

	@Override
	public ResBoolSimpleInfo addUserThoughts(@RequestBody UserThoughts userThoughts) {
		return userThoughtsService.addUserThoughts(userThoughts);
	}
	



	

	
}
